package my.tutorial.javacore.test.analytic;
/**
 * Java Test 4 Inheritance 
 */
public class Clothing extends Product {
	int size;
	String material;

	public Clothing(String name, String desc, double price, int size,
			String material) {
		super(name, desc, price);
		this.size = size;
		this.material = material;
	}

	@Override
	public String toString() {
		return name + " _ " + description + " _ " + price + " EUR" + " _ "
				+ size + " _ " + material;
	}
}
